package cn.yuan.pet.service;

import cn.yuan.basic.service.IBaseService;
import cn.yuan.basic.util.PageList;
import cn.yuan.pet.domain.Pet;
import cn.yuan.pet.domain.SearchMasterMsg;
import cn.yuan.pet.query.SearchMasterMsgQuery;

public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    void publish(SearchMasterMsg seachMasterMsg, Long loginInfoId);

    PageList<SearchMasterMsg> pending(SearchMasterMsgQuery query, Long loginInfoId);

    PageList<SearchMasterMsg> processed(SearchMasterMsgQuery query, Long loginInfoId);

    PageList<SearchMasterMsg> myMsg(SearchMasterMsgQuery query, Long loginInfoId);

    void handle(Pet pet,Long logininfoId);
}
